package com.tms.security.entity;

import com.tms.domain.Position;

import java.util.List;

/**
 * url对应的职位
 *
 * @author ozj
 * @date 2020-03-26
 */
public class Menu {

    private int id;

    private String pattern;

    private String method;

    private List<Position> positions;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public List<Position> getPositions() {
        return positions;
    }

    public void setPositions(List<Position> positions) {
        this.positions = positions;
    }
}
